package com.hsnn.medstgmini.base.std.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * StdDruginfoDetailLog entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "std_druginfo_detail_log")
public class StdDruginfoDetailLog implements java.io.Serializable {

	// Fields

	private String logId;
	private String drugId;
	private Short drugAttr;
	private Integer drugIndex;
	private String pharId;
	private Short patternType;
	private Short drugSource;
	private Short isLowprice;
	private Short isAgriculture;
	private Short isHealthcare;
	private String drugStdCode;
	private String drugStdcdRemark;
	private String remark;
	private Timestamp updDatetime;
	private String updUser;

	// Constructors

	/** default constructor */
	public StdDruginfoDetailLog() {
	}

	/** full constructor */
	public StdDruginfoDetailLog(String drugId, Short drugAttr,
			Integer drugIndex, String pharId, Short patternType,
			Short drugSource, Short isLowprice, Short isAgriculture,
			Short isHealthcare, String drugStdCode, String drugStdcdRemark,
			String remark, Timestamp updDatetime, String updUser) {
		this.drugId = drugId;
		this.drugAttr = drugAttr;
		this.drugIndex = drugIndex;
		this.pharId = pharId;
		this.patternType = patternType;
		this.drugSource = drugSource;
		this.isLowprice = isLowprice;
		this.isAgriculture = isAgriculture;
		this.isHealthcare = isHealthcare;
		this.drugStdCode = drugStdCode;
		this.drugStdcdRemark = drugStdcdRemark;
		this.remark = remark;
		this.updDatetime = updDatetime;
		this.updUser = updUser;
	}

	// Property accessors
	@Id
	@Column(name = "log_id", unique = true, nullable = false, length = 36)
	public String getLogId() {
		return this.logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	@Column(name = "drug_id", length = 36)
	public String getDrugId() {
		return this.drugId;
	}

	public void setDrugId(String drugId) {
		this.drugId = drugId;
	}

	@Column(name = "drug_attr")
	public Short getDrugAttr() {
		return this.drugAttr;
	}

	public void setDrugAttr(Short drugAttr) {
		this.drugAttr = drugAttr;
	}

	@Column(name = "drug_index")
	public Integer getDrugIndex() {
		return this.drugIndex;
	}

	public void setDrugIndex(Integer drugIndex) {
		this.drugIndex = drugIndex;
	}

	@Column(name = "phar_id", length = 36)
	public String getPharId() {
		return this.pharId;
	}

	public void setPharId(String pharId) {
		this.pharId = pharId;
	}

	@Column(name = "pattern_type")
	public Short getPatternType() {
		return this.patternType;
	}

	public void setPatternType(Short patternType) {
		this.patternType = patternType;
	}

	@Column(name = "drug_source")
	public Short getDrugSource() {
		return this.drugSource;
	}

	public void setDrugSource(Short drugSource) {
		this.drugSource = drugSource;
	}

	@Column(name = "is_lowprice")
	public Short getIsLowprice() {
		return this.isLowprice;
	}

	public void setIsLowprice(Short isLowprice) {
		this.isLowprice = isLowprice;
	}

	@Column(name = "is_agriculture")
	public Short getIsAgriculture() {
		return this.isAgriculture;
	}

	public void setIsAgriculture(Short isAgriculture) {
		this.isAgriculture = isAgriculture;
	}

	@Column(name = "is_healthcare")
	public Short getIsHealthcare() {
		return this.isHealthcare;
	}

	public void setIsHealthcare(Short isHealthcare) {
		this.isHealthcare = isHealthcare;
	}

	@Column(name = "drug_std_code", length = 128)
	public String getDrugStdCode() {
		return this.drugStdCode;
	}

	public void setDrugStdCode(String drugStdCode) {
		this.drugStdCode = drugStdCode;
	}

	@Column(name = "drug_stdcd_remark", length = 1024)
	public String getDrugStdcdRemark() {
		return this.drugStdcdRemark;
	}

	public void setDrugStdcdRemark(String drugStdcdRemark) {
		this.drugStdcdRemark = drugStdcdRemark;
	}

	@Column(name = "remark", length = 4000)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "upd_datetime", length = 19)
	public Timestamp getUpdDatetime() {
		return this.updDatetime;
	}

	public void setUpdDatetime(Timestamp updDatetime) {
		this.updDatetime = updDatetime;
	}

	@Column(name = "upd_user", length = 36)
	public String getUpdUser() {
		return this.updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

}